package com.email.util;

import java.util.List;

public class FolderBean {
	private Integer id;
	private String username;
	private Integer parent_id;
	private String folder_name;
	private Integer folder_type;
	private List<FolderBean> children;

	public FolderBean() {}
	
	public FolderBean(Integer id, String folder_name, List<FolderBean> children ){
		this.id = id;
		this.folder_name = folder_name;
		this.children = children;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Integer getParent_id() {
		return parent_id;
	}

	public void setParent_id(Integer parent_id) {
		this.parent_id = parent_id;
	}

	public String getFolder_name() {
		return folder_name;
	}

	public void setFolder_name(String folder_name) {
		this.folder_name = folder_name;
	}

	public Integer getFolder_type() {
		return folder_type;
	}

	public void setFolder_type(Integer folder_type) {
		this.folder_type = folder_type;
	}
	
	public List<FolderBean> getChildren() {
		return children;
	}

	public void setChildren(List<FolderBean> children) {
		this.children = children;
	}

	public String toString(){
		return "id:"+ id + " ,username:" + username + " ,parent_id:" + parent_id + " ,folder_name:" + folder_name + " ,folder_type: " + folder_type;
	}
	
}
